package com.capricornus.demo.model;

import java.util.ArrayList;
import java.util.List;

/**
 *部门表继承部门实体类
 */
public class DepartmentTree  extends Department{

    //绑定值
    private String value;
    //父节点对象的值
    private String label;
    //子节点对象属性值
    private List<DepartmentTree> children = new ArrayList<>();


    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public List<DepartmentTree> getChildren() {
        return children;
    }

    public void setChildren(List<DepartmentTree> children) {
        this.children = children;
    }
}
